package app;


class NumericValue extends AttributeValue {
	private double value;
	
	public NumericValue(String str) {
		this.value = Double.parseDouble(str);
	}
	
	public NumericValue(double value) {
		this.value = value;
	}
	
	public double getValue() {
		return value;
	}

	public void setValue(double value) {
		this.value = value;
	}
	
	public String toString() {
		return "" + value;
	}
}
